package retrofitdemo.com.night;

import android.app.Application;
import retrofitdemo.com.night.utils.LogUtils;


/**
 * Created by 86178 on 2020/3/11.
 * author mogen
 * 用心，成就一切。
 */
public class MyApplication extends Application {

    public static MyApplication instance;

    public static MyApplication getInstance(){
        if (instance == null) {
            instance = new MyApplication();
        }
        return instance;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;
        LogUtils.init( true );

    }
}
